import { Group } from '@/components/pro-panel/index.typing';

export enum LayerTypeEnum {
  常规线 = 'POLYLINE',
  '3D围栏' = 'WALL',
}

const group: Group = {
  title: '基础设置',
  key: 'basic',
  collapsed: false,
  columns: [
    {
      label: '图层类型',
      prop: 'type',
      type: 'select',
      options: LayerTypeEnum,
    },
    {
      label: '离地高度',
      prop: 'data.extrudedHeight',
      type: 'select',
      options: [],
      span: 11,
      formProps: { placeholder: '无/按字段' },
    },
    {
      label: ' ',
      prop: 'addIconSlot',
      type: 'slot',
      span: 2,
    },
    {
      label: ' ',
      prop: 'data.extrudedHeight',
      type: 'input-number',
      span: 11,
      formProps: { controls: false },
    },
  ],
};

export default group;
